//
//  UIImageView + extension.swift
//  weiBo
//
//  Created by 胡卓 on 2017/4/2.
//  Copyright © 2017年 胡卓. All rights reserved.
//

import UIKit


extension UIImageView {
    
    convenience init(imgName: String) {
        
        self.init()
        
        let image = UIImage(named: imgName)
        self.image = image
    }
}
